package cn.com.thinvent.dispatch.web;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan("cn.com.thinvent.dispatch.dao")
@ComponentScan(basePackages={"cn.com.thinvent.dispatch.web.config","cn.com.thinvent.dispatch"})
@EnableTransactionManagement
public class DispatchWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(DispatchWebApplication.class, args);
        System.out.println("项目启动成功！");
    }

}
